﻿SP.SOD.executeFunc("clienttemplates.js", "SPClientTemplates", function () {

    SPClientTemplates.TemplateManager.RegisterTemplateOverrides({

        OnPreRender: function (ctx) {
            console.log('PreRender event is triggered');
        },


        OnPostRender: function (ctx) {
            console.log('PostRender event is triggered');
        }

    });

});